package com.FH.organization.departmentCrp;

import com.FH.util.ResultDTO;

/**
 * Created by ygg on 2016/6/28.
 * 部门接口类
 */
public interface DepartmentCrpDAO {

    //获取部门信息
    public ResultDTO getDepartmentInfo(String search, String page, String size);

    //增加部门信息
    public ResultDTO addDepartmentInfo(String str);

    //更新部门信息
    public ResultDTO updateDepartmentInfo(String str);

    //删除部门信息
    public ResultDTO deleteDepartmentInfo(String str);

    //增加部门信息(回调到民师系统)
    public ResultDTO addMhDepartmentInfo(DepartmentCrpPullDTO departmentPullDTO);

//    //删除部门信息(回调到民师系统)
    public ResultDTO deleteMhDepartmentInfo(DepartmentCrpPullDTO departmentPullDTO);

    //修改部门信息(回调到民师系统)
    public ResultDTO updateMhDepartmentInfo(DepartmentCrpPullDTO departmentPullDTO);
    /**从基础平台同步部门数据*/
    ResultDTO updateDepartmentFromBase();
}
